package us.springcode.learn;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import us.springcode.learn.model.MyTestBean;

public class ResourceTest {
	
	@Autowired
	private MyTestBean myTestBean;
	
	public static void main(String[] args){
		ApplicationContext ctx = new ClassPathXmlApplicationContext("beans.xml");//读取bean.xml中的内容
		//need 容器
	}
	
}
